package cn.iocoder.yudao.module.trade.controller.admin.ordersafetychecktemplate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 安全检查服务新增/修改 Request VO")
@Data
public class OrderSafetyCheckTemplateSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2169")
    private Long id;

    @Schema(description = "服务商品编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "服务商品编号不能为空")
    private String code;

    @Schema(description = "服务商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "服务商品名称不能为空")
    private String name;

    @Schema(description = "服务商品分类", requiredMode = Schema.RequiredMode.REQUIRED,example = "0")
//    @NotEmpty(message = "服务商品分类不能为空")
    private Integer categoryId;

    @Schema(description = "服务有效期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务有效期")
    private String expirationDate;

    @Schema(description = "燃气户类型(1.居民，2.商业，3.工业，4.商服)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "燃气户类型(1.居民，2.商业，3.工业，4.商服)不能为空")
    private Integer gasUserType;

    @Schema(description = "状态（0.停用，1.启用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态（0.停用，1.启用）不能为空")
    private Integer status;

}